package 设计模式.创建型.抽象工厂;

/**
 * @author lchenglong
 * @date 2024/2/4
 */
public class HuaweiFactory implements IProductFactory{

    @Override
    public IPhoneProduct phoneProduct() {
        return new HuaweiPhone();
    }

    @Override
    public IRouterProduct routerProduct() {
        return new HuaweiRouter();
    }
}
